local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1
L0_1 = {}
L0_1.group_id = 133213166
L1_1 = {}
L2_1 = {}
L2_1.config_id = 166001
L2_1.monster_id = 21020201
L3_1 = {}
L3_1.x = -3825.283
L3_1.y = 200.513
L3_1.z = -2949.52
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 29.129
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L2_1.disableWander = true
L2_1.pose_id = 401
L2_1.area_id = 12
L3_1 = {}
L3_1.config_id = 166002
L3_1.monster_id = 21020701
L4_1 = {}
L4_1.x = -3872.066
L4_1.y = 200.968
L4_1.z = -2937.904
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 78.599
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L3_1.disableWander = true
L3_1.pose_id = 401
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 166003
L4_1.monster_id = 21010902
L5_1 = {}
L5_1.x = -3811.588
L5_1.y = 205.444
L5_1.z = -2954.642
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 129.921
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L4_1.disableWander = true
L4_1.pose_id = 32
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 166004
L5_1.monster_id = 21010701
L6_1 = {}
L6_1.x = -3864.118
L6_1.y = 200.977
L6_1.z = -2937.673
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 96.163
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 166005
L6_1.monster_id = 21010701
L7_1 = {}
L7_1.x = -3867.678
L7_1.y = 200.171
L7_1.z = -2929.232
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 89.309
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 166007
L7_1.monster_id = 21011002
L8_1 = {}
L8_1.x = -3862.349
L8_1.y = 207.895
L8_1.z = -2947.686
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 201.728
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L7_1.disableWander = true
L7_1.pose_id = 32
L7_1.area_id = 12
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 166006
L2_1.gadget_id = 70300086
L3_1 = {}
L3_1.x = -3875.081
L3_1.y = 200.829
L3_1.z = -2937.021
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 27
L2_1.area_id = 12
L3_1 = {}
L3_1.config_id = 166008
L3_1.gadget_id = 70300090
L4_1 = {}
L4_1.x = -3862.519
L4_1.y = 202.221
L4_1.z = -2947.987
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 318.973
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 19
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 166009
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = -3826.67
L5_1.y = 200.466
L5_1.z = -2951.735
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 36.006
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 166010
L5_1.gadget_id = 70300101
L6_1 = {}
L6_1.x = -3875.078
L6_1.y = 200.664
L6_1.z = -2936.908
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 47.94
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 166013
L6_1.gadget_id = 70300076
L7_1 = {}
L7_1.x = -3805.205
L7_1.y = 200.075
L7_1.z = -2953.992
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 169.501
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 19
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 166014
L7_1.gadget_id = 70300084
L8_1 = {}
L8_1.x = -3880.196
L8_1.y = 200.116
L8_1.z = -2930.066
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 247.009
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 19
L7_1.area_id = 12
L8_1 = {}
L8_1.config_id = 166015
L8_1.gadget_id = 70300076
L9_1 = {}
L9_1.x = -3862.198
L9_1.y = 203.136
L9_1.z = -2955.818
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 46.559
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 19
L8_1.area_id = 12
L9_1 = {}
L9_1.config_id = 166018
L9_1.gadget_id = 70300090
L10_1 = {}
L10_1.x = -3811.543
L10_1.y = 199.999
L10_1.z = -2954.629
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 308.669
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 27
L9_1.area_id = 12
L10_1 = {}
L10_1.config_id = 166019
L10_1.gadget_id = 70300086
L11_1 = {}
L11_1.x = -3826.784
L11_1.y = 200.747
L11_1.z = -2951.989
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 12
L11_1 = {}
L11_1.config_id = 166022
L11_1.gadget_id = 70300086
L12_1 = {}
L12_1.x = -3850.783
L12_1.y = 199.121
L12_1.z = -2939.275
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 5.716
L12_1.y = 261.103
L12_1.z = 309.446
L11_1.rot = L12_1
L11_1.level = 27
L11_1.area_id = 12
L12_1 = {}
L12_1.config_id = 166023
L12_1.gadget_id = 70300086
L13_1 = {}
L13_1.x = -3812.539
L13_1.y = 199.585
L13_1.z = -2937.04
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.001
L13_1.y = 188.22
L13_1.z = 276.983
L12_1.rot = L13_1
L12_1.level = 27
L12_1.area_id = 12
L13_1 = {}
L13_1.config_id = 166024
L13_1.gadget_id = 70310001
L14_1 = {}
L14_1.x = -3821.957
L14_1.y = 200.3
L14_1.z = -2950.178
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 27
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.area_id = 12
L14_1 = {}
L14_1.config_id = 166026
L14_1.gadget_id = 70310001
L15_1 = {}
L15_1.x = -3883.307
L15_1.y = 200.887
L15_1.z = -2934.998
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 27
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.area_id = 12
L15_1 = {}
L15_1.config_id = 166027
L15_1.gadget_id = 70220013
L16_1 = {}
L16_1.x = -3878.866
L16_1.y = 200.343
L16_1.z = -2931.465
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 27
L15_1.area_id = 12
L16_1 = {}
L16_1.config_id = 166028
L16_1.gadget_id = 70220013
L17_1 = {}
L17_1.x = -3876.432
L17_1.y = 200.42
L17_1.z = -2932.274
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 322.439
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 27
L16_1.area_id = 12
L17_1 = {}
L17_1.config_id = 166029
L17_1.gadget_id = 70220013
L18_1 = {}
L18_1.x = -3816.41
L18_1.y = 199.484
L18_1.z = -2938.427
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 13.717
L18_1.y = 321.134
L18_1.z = 349.181
L17_1.rot = L18_1
L17_1.level = 27
L17_1.area_id = 12
L18_1 = {}
L18_1.config_id = 166030
L18_1.gadget_id = 70300089
L19_1 = {}
L19_1.x = -3820.037
L19_1.y = 200.495
L19_1.z = -2955.73
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 27
L18_1.area_id = 12
L19_1 = {}
L19_1.config_id = 166031
L19_1.gadget_id = 70300084
L20_1 = {}
L20_1.x = -3847.95
L20_1.y = 201.082
L20_1.z = -2951.268
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 223.488
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 27
L19_1.area_id = 12
L20_1 = {}
L20_1.config_id = 166032
L20_1.gadget_id = 70300084
L21_1 = {}
L21_1.x = -3855.085
L21_1.y = 201.708
L21_1.z = -2952.13
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 258.699
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 27
L20_1.area_id = 12
L21_1 = {}
L21_1.config_id = 166033
L21_1.gadget_id = 70300089
L22_1 = {}
L22_1.x = -3873.374
L22_1.y = 202.587
L22_1.z = -2944.327
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 27
L21_1.area_id = 12
L22_1 = {}
L22_1.config_id = 166034
L22_1.gadget_id = 70310004
L23_1 = {}
L23_1.x = -3869.697
L23_1.y = 200.964
L23_1.z = -2937.824
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 27
L23_1 = GadgetState
L23_1 = L23_1.GearStart
L22_1.state = L23_1
L22_1.area_id = 12
L23_1 = {}
L23_1.config_id = 166035
L23_1.gadget_id = 70300084
L24_1 = {}
L24_1.x = -3814.204
L24_1.y = 200.34
L24_1.z = -2960.144
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 8.68
L24_1.y = 48.555
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 27
L23_1.area_id = 12
L24_1 = {}
L24_1.config_id = 166036
L24_1.gadget_id = 70300084
L25_1 = {}
L25_1.x = -3819.875
L25_1.y = 201.601
L25_1.z = -2965.608
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 9.88
L25_1.y = 48.555
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 27
L24_1.area_id = 12
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1166016
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_166016"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "53006"
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_166016"
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_166016"
L3_1 = {}
L3_1.config_id = 1166017
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_166017"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "53007"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_166017"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_166017"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "ison"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 166001
L5_1 = 166002
L6_1 = 166003
L7_1 = 166004
L8_1 = 166005
L9_1 = 166007
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 166006
L5_1 = 166008
L6_1 = 166009
L7_1 = 166010
L8_1 = 166013
L9_1 = 166014
L10_1 = 166015
L11_1 = 166018
L12_1 = 166019
L13_1 = 166022
L14_1 = 166023
L15_1 = 166024
L16_1 = 166026
L17_1 = 166027
L18_1 = 166028
L19_1 = 166029
L20_1 = 166030
L21_1 = 166031
L22_1 = 166032
L23_1 = 166033
L24_1 = 166034
L25_1 = 166035
L26_1 = 166036
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L3_1[22] = L25_1
L3_1[23] = L26_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "SPECIFIC_GADGET_HP_CHANGE_166016"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_166017"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = A1_2.type
  L3_2 = EventType
  L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
  if L2_2 == L3_2 then
    L2_2 = A1_2.param3
    if not (50 < L2_2) then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if 2 < L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "ison"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_166016 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "ison"
  L5_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_groupVariable"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_SPECIFIC_GADGET_HP_CHANGE_166016 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = A1_2.type
  L3_2 = EventType
  L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
  if L2_2 == L3_2 then
    L2_2 = A1_2.param3
    if not (50 < L2_2) then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if 2 < L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "ison"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_166017 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "ison"
  L5_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_groupVariable"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_SPECIFIC_GADGET_HP_CHANGE_166017 = L1_1
